#ifndef __Math__MathData__
#define __Math__MathData__
#include "../GameConfig.h"

class MathData
{
public:
    int NumOfEasyLevel;
    int NumOfNormalLevel;
    int NumOfHardLevel;
	
	int MaxLevelFreeEasy;
	int MaxLevelFreeNormal;
	int MaxLevelFreeHard;

	MathData()
	{
		NumOfEasyLevel = 0;
		NumOfNormalLevel = 0;
		NumOfHardLevel = 0;

		MaxLevelFreeEasy = 1;
		MaxLevelFreeNormal = 1;
		MaxLevelFreeHard = 1;
	}

	int getMaxLevelFree(EGameMode mode)
	{
		int result = 1;
		switch (mode)
		{
		case kMode_Normal:
			result = MaxLevelFreeEasy;
			break;
		case kMode_Easy:
			result = MaxLevelFreeNormal;
			break;
		case kMode_Hard:
			result = MaxLevelFreeHard;
			break;
		}
		return result;
	}
};
#endif